<extend name="./base" />
<block name="pageContent">
    <link rel="stylesheet" href="{$Think.config.DOMAIN_URL}/Public/AdminTpl/css/s-settle.css">
    <div class="main-content">
        <!-- 头部面包屑导航条 -->
        <div class="breadcrumbs" id="breadcrumbs">
            <!--导航路径列表-->
            <ul class="breadcrumb no-margin-left">
                <li>
                    <a>管理后台</a>
                </li>
                <li class="action">
                    股票管理
                </li>
            </ul>
        </div>
        <!--页面容器-->
        <div class="page-content">
            <div class="nav-tab" style="position: relative">
                <ul class="nav-tab-title ">
                    <li class="nav-this">编辑交易所</li>
                </ul>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <div class="row">
                        <form class="jsform" method="post" action="{$Think.config.DOMAIN_URL}/stock/editPlace">
                            <input  name="id" class="form-control" type="hidden" value="{$selfInfo.id}">
                            <input  name="page" class="form-control" type="hidden" value="{$page}">
                            <div class="s_form-textarea">
                                <span>交易所名称</span>
                                <input type="text" name="name" value="{$selfInfo.name}" class="s_form-width" datatype="*" placeholder="请输入交易所名称"/>
                            </div>
                            <div class="s_form-textarea">
                                <span>涨跌幅</span>
                                <input type="number" name="rang_space" value="{$selfInfo.rang_space}" class="s_form-width" datatype="*" placeholder="请输入涨跌幅"/>
                                <em class="type-add-p color-gray9" style="margin-left: 20px">%</em>
                            </div>
                            <div class="s_form-textarea">
                                <span>手续费比例</span>
                                <input type="number" name="trade_fee" value="{$selfInfo.trade_fee}" class="s_form-width" datatype="*" placeholder="请输入手续费比例"/>
                                <em class="type-add-p color-gray9" style="margin-left: 20px">‰</em>
                            </div>
                            <div class="s_form-textarea">
                                <span>开盘时间</span>
                                <input type="text" name="stime" id="stime" value="{$selfInfo.stime}" class="s_form-width" datatype="*" placeholder="请输入开盘时间"/>
                            </div>
                            <div class="s_form-textarea">
                                <span>收盘时间</span>
                                <input type="text" name="etime" id="etime" value="{$selfInfo.etime}" class="s_form-width" datatype="*" placeholder="请输入收盘时间"/>
                            </div>
                            <div class="s_form-textarea">
                                <span>开市日期</span>
                                <input class="checkbox col-sm-1 week_list" name="week_list[]" type="checkbox" value="1" <assign name="week" value="1" /><in name="week" value="$selfInfo[week_list]">checked</in> style="width: 2%"><em class="type-add-p color-gray9" style="margin-left: 0px">周一</em>
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="checkbox col-sm-1 week_list" name="week_list[]" type="checkbox" value="2" <assign name="week" value="2" /><in name="week" value="$selfInfo[week_list]">checked</in> style="width: 2%"><em class="type-add-p color-gray9" style="margin-left: 0px">周二</em>
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="checkbox col-sm-1 week_list" name="week_list[]" type="checkbox" value="3" <assign name="week" value="3" /><in name="week" value="$selfInfo[week_list]">checked</in> style="width: 2%"><em class="type-add-p color-gray9" style="margin-left: 0px">周三</em>
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="checkbox col-sm-1 week_list" name="week_list[]" type="checkbox" value="4" <assign name="week" value="4" /><in name="week" value="$selfInfo[week_list]">checked</in> style="width: 2%"><em class="type-add-p color-gray9" style="margin-left: 0px">周四</em>
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="checkbox col-sm-1 week_list" name="week_list[]" type="checkbox" value="5" <assign name="week" value="5" /><in name="week" value="$selfInfo[week_list]">checked</in> style="width: 2%"><em class="type-add-p color-gray9" style="margin-left: 0px">周五</em>
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="checkbox col-sm-1 week_list" name="week_list[]" type="checkbox" value="6" <assign name="week" value="6" /><in name="week" value="$selfInfo[week_list]">checked</in> style="width: 2%"><em class="type-add-p color-gray9" style="margin-left: 0px">周六</em>
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="checkbox col-sm-1 week_list" name="week_list[]" type="checkbox" value="7" <assign name="week" value="7" /><in name="week" value="$selfInfo[week_list]">checked</in> style="width: 2%"><em class="type-add-p color-gray9" style="margin-left: 0px">周日</em>
                            </div>
                            <div style="margin: 50px 80px;">
                                <button type="submit"  class="btn " style="width: 100px; border-radius: 2rem; background: #0451d7!important;border:1px solid #0451d7;margin-left: 20px;">确定</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>
        $(".jsform").Validform();
        laydate.render({
            elem: '#stime'
            ,type: 'time'
        });
        laydate.render({
            elem: '#etime'
            ,type: 'time'
        });
    </script>
</block>